/**
 * Project: Useful Programs
 * Package: location
 */
package org.leumasjaffe.location;

/**
 * Class Coord_3D in file Coord_3D.java
 * 
 * @author samjaffe
 * Created on: Jul 28, 2012
 * 
 */
public abstract class Coord_3D extends Coord_2D implements Pos_3D {
	
	/**
	 * 
	 */
	protected int z;

	/**
	 * @param x
	 * @param y
	 * @param z
	 */
	public Coord_3D(int x, int y, int z) {
		super(x,y);
		this.z = z;
	}
	
	/* (non-Javadoc)
	 * @see location.Pos_3D#getZ()
	 */
	@Override
	public int getZ() {
		return this.z;
	}

	/* (non-Javadoc)
	 * @see location.Pos_3D#setZ(int)
	 */
	@Override
	public void setZ(int z) {
		this.z = z;
	}
	
}
